﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>design</title>

    <link href="/pages/design/design.css" rel="stylesheet" />
    <script src="/pages/design/design.js"></script>
</head>
<body>
    <!-- The content that will be loaded and displayed. -->
    <div class="fragment design">
        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" disabled type="button"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">Welcome to CardDemo!</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main">

            <div id="cardTemplate" data-win-control="WinJS.Binding.Template" style="display: none">
                <div class="cardItem">
                    <img  data-win-bind="src: icon" />
                </div>
            </div>

            <div id="cardListView"
                    data-win-control="WinJS.UI.ListView" 
                    data-win-options="{ 
                        itemTemplate: cardTemplate,
                        selectionMode: 'none', 
                        tapBehavior: 'invoke', 
                        layout: { type: WinJS.UI.GridLayout } 
                    }"
                ></div>
        </section>
    </div>
</body>
</html>
